﻿<# 

Before running this script, first run CreateDemo, and update the StreamAnalytics.json file with the correct keys.
All entries which should be updated have been marked with TO_REPLACE.

#>

# General
$projectName = "btugiot"

Switch-AzureMode AzureResourceManager
New-AzureStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-North-Europe –File .\StreamAnalytics.json -Name $projectName -Force

Write-Host Press ENTER to continue...
Read-Host